/**
 * 应用程序菜单数据结构
 * 包含所有模块、子模块及其菜单项的完整层次结构
 * @type {Array} 扁平数组结构，通过id和parentId建立层级关系
 */
const applicationMenuData = [
  { id: 'SA01', parentId: '', name: 'sales', displayName: '销售', icon: 'fa-shopping-cart', url: '' },

  { id: 'SA0101', parentId: 'SA01', name: 'saleOut', displayName: '销售出库', icon: '', url: '' },
  { id: 'SA010103', parentId: 'SA0101', name: 'saleOutSet', displayName: '百度', icon: '', url: 'https://baidu.com' },
  { id: 'SA010101', parentId: 'SA0101', name: 'saleOutDoc', displayName: '单据', icon: '', url: '' },
  { id: 'SA010102', parentId: 'SA0101', name: 'saleOutRpt', displayName: '报表', icon: '', url: '' },
  { id: 'SA01010101', parentId: 'SA010101', name: 'saleOutDocOrder', displayName: '搜狐', icon: '', url: 'https://sohu.com' },
  { id: 'SA01010201', parentId: 'SA010102', name: 'saleOutRptOrder', displayName: '淘宝', icon: '', url: 'https://taobao.com' },

  { id: 'SA0102', parentId: 'SA01', name: 'saleReturn', displayName: '销售退货', icon: '', url: '' },
  { id: 'SA010201', parentId: 'SA0102', name: 'saleReturnSet', displayName: '新浪', icon: '', url: 'https://sina.com' },
  { id: 'SA010202', parentId: 'SA0102', name: 'saleReturnDoc', displayName: '单据', icon: '', url: '' },
  { id: 'SA01020201', parentId: 'SA010202', name: 'saleReturnDocOrder', displayName: '网易', icon: '', url: 'https://163.com' },

  { id: 'SA02', parentId: '', name: 'system', displayName: '系统', icon: 'fa-cogs', url: '' },

  { id: 'SA0201', parentId: 'SA02', name: 'user', displayName: '央视', icon: '', url: 'https://cctv.com' },

  { id: 'SA0203', parentId: 'SA02', name: 'logs', displayName: '系统日志', icon: '', url: '' },
  { id: 'SA020301', parentId: 'SA0203', name: 'logOp', displayName: '凤凰', icon: '', url: 'https://ifeng.com' },
  { id: 'SA020302', parentId: 'SA0203', name: 'logLogin', displayName: '新华', icon: '', url: 'https://www.xinhuanet.com' }
];
